package com.motong.gongdan.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.motong.gongdan.entity.ExceptionType;
import com.motong.gongdan.mapper.ExceptionTypeMapper;
import com.motong.gongdan.vo.system.exceptionHandle.query.ExceptionGetTypeListQuery;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ExceptionTypeService extends ServiceImpl<ExceptionTypeMapper, ExceptionType> {

    @Resource
    private ExceptionTypeMapper exceptionTypeMapper;

    public List<ExceptionType> getList(ExceptionGetTypeListQuery query) {
        return exceptionTypeMapper.getList(query);
    }
}
